/*********************************************************************
	Rhapsody	: 7.5 
	Login		: kbe
	Component	: DefaultComponent 
	Configuration 	: CodeConfig
	Model Element	: AlarmEvent
//!	Generated Date	: Thu, 27, Sep 2012  
	File Path	: DefaultComponent\CodeConfig\AlarmEvent.h
*********************************************************************/

#ifndef AlarmEvent_H
#define AlarmEvent_H

//#[ ignore
#ifdef _MSC_VER
// disable Microsoft compiler warning (debug information truncated)
#pragma warning(disable: 4786)
#endif
//#]

//## auto_generated
#include <oxf\oxf.h>
//## auto_generated
#include <string>
//## auto_generated
#include <algorithm>
//## auto_generated
#include "Default.h"
//## auto_generated
#include "SOCK_WrapperFacade.h"
//## class AlarmEvent
#include "ServiceHandler.h"
//## auto_generated
class Reactor;

//## package Default

//## class AlarmEvent
class AlarmEvent : public ServiceHandler {
    ////    Friends    ////
    
    ////    Constructors and destructors    ////
    
public :

    //## operation AlarmEvent(Reactor *,SOCK_Stream *)
    AlarmEvent(Reactor * reactor, SOCK_Stream * stream);
    
    //## auto_generated
    AlarmEvent();
    
    //## auto_generated
    virtual ~AlarmEvent();
    
    ////    Operations    ////
    
    //## operation handleEvent(HANDLE,Event_Type)
    virtual int handleEvent(HANDLE h, Event_Type& et);

private :

    //## operation AlarmAction()
    void AlarmAction();

protected :

    //## auto_generated
    char getBuffer_(int i1) const;
    
    //## auto_generated
    void setBuffer_(int i1, char p_buffer_);

private :

    char buffer_[SIZE_BIG];		//## attribute buffer_
};

#endif
/*********************************************************************
	File Path	: DefaultComponent\CodeConfig\AlarmEvent.h
*********************************************************************/
